﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using GMLogging;

namespace ThouShaltNotBrickLevelEditor.Code.GeneralObjects
{
    public sealed class BrickSelectorRects
    {
        #region Properties
        private List<BrickSelectorRect> mBrickSelectorRectList;
        #endregion

        #region Constructors
        public BrickSelectorRects(List<BrickSelectorRect> pBrickSelectorRectList)
        {
            if (pBrickSelectorRectList == null)
            {
                Exception e = new ArgumentNullException("pBrickSelectorRectList");
                Logger.Error(e.Message);
                throw e;
            }

            mBrickSelectorRectList = pBrickSelectorRectList;
        }
        #endregion

        #region Methods
        public List<BrickSelectorRect> GetBrickSelectorRects()
        {
            return new List<BrickSelectorRect>(mBrickSelectorRectList);
        }
        #endregion
    }
}